package com.punai.datapush.domain;

import com.punai.common.annotation.Excel;
import com.punai.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 指导价格库对象 eco_feeitem_guideprice
 *
 * @author zxw_
 * @date 2023-04-25
 */
public class EcoFeeitemGuideprice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private String id;
    @Excel(name = "费用项编码",sort = 1)
    private String code;
    /** 保留字段 新编码 */
    private String ncode;
    /** 期次id */
    private String periodId;
    @Excel(name = "单位",sort = 3)
    private String unit;
    /** 业态 */
    @Excel(name = "业态",sort = 4)
    private String yt;
    /** 地区 */
    @Excel(name = "地区",sort = 5)
    private String address;
    /** 专业 */
    private String specialty;
    /** 前缀特征 */
    private String prefixSpec;
    /** 后缀特征 */
    private String suffixSpec;
    /** 特征细节 */
    private String specDetail;
    private String name;
    /** 包含特征的名称 */
    @Excel(name = "费用项名称",sort = 2)
    private String specName;
    /** 不含税 */
    @Excel(name = "不含税",sort = 7)
    private BigDecimal notaxprice;
    /** 税率 */
    @Excel(name = "税率",sort = 8)
    private BigDecimal sl;
    /** 含税 */
    @Excel(name = "含税",sort = 9)
    private BigDecimal taxprice;

    /**
     *  创建方式(0系统创建,2导入创建)
     */
    private String createType;
    private String datafrom;

    public String getDatafrom() {
        return datafrom;
    }

    public void setDatafrom(String datafrom) {
        this.datafrom = datafrom;
    }

    /**
     * 排序
     */
    private Integer orderNum;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setCode(String code)
    {
        this.code = code;
    }

    public String getCode()
    {
        return code;
    }
    public void setNcode(String ncode)
    {
        this.ncode = ncode;
    }

    public String getNcode()
    {
        return ncode;
    }
    public void setPeriodId(String periodId)
    {
        this.periodId = periodId;
    }

    public String getPeriodId()
    {
        return periodId;
    }
    public void setUnit(String unit)
    {
        this.unit = unit;
    }

    public String getUnit()
    {
        return unit;
    }
    public void setYt(String yt)
    {
        this.yt = yt;
    }

    public String getYt()
    {
        return yt;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }
    public void setSpecialty(String specialty)
    {
        this.specialty = specialty;
    }

    public String getSpecialty()
    {
        return specialty;
    }
    public void setPrefixSpec(String prefixSpec)
    {
        this.prefixSpec = prefixSpec;
    }

    public String getPrefixSpec()
    {
        return prefixSpec;
    }
    public void setSuffixSpec(String suffixSpec)
    {
        this.suffixSpec = suffixSpec;
    }

    public String getSuffixSpec()
    {
        return suffixSpec;
    }
    public void setSpecDetail(String specDetail)
    {
        this.specDetail = specDetail;
    }

    public String getSpecDetail()
    {
        return specDetail;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setSpecName(String specName)
    {
        this.specName = specName;
    }

    public String getSpecName()
    {
        return specName;
    }
    public void setNotaxprice(BigDecimal notaxprice)
    {
        this.notaxprice = notaxprice;
    }

    public BigDecimal getNotaxprice()
    {
        return notaxprice;
    }
    public void setSl(BigDecimal sl)
    {
        this.sl = sl;
    }

    public BigDecimal getSl()
    {
        return sl;
    }
    public void setTaxprice(BigDecimal taxprice)
    {
        this.taxprice = taxprice;
    }

    public BigDecimal getTaxprice()
    {
        return taxprice;
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    public String getCreateType() {
        return createType;
    }

    public void setCreateType(String createType) {
        this.createType = createType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("code", getCode())
            .append("ncode", getNcode())
            .append("periodId", getPeriodId())
            .append("unit", getUnit())
            .append("yt", getYt())
            .append("address", getAddress())
            .append("specialty", getSpecialty())
            .append("prefixSpec", getPrefixSpec())
            .append("suffixSpec", getSuffixSpec())
            .append("specDetail", getSpecDetail())
            .append("name", getName())
            .append("specName", getSpecName())
            .append("notaxprice", getNotaxprice())
            .append("sl", getSl())
            .append("taxprice", getTaxprice())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
        .toString();
    }
}
